<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--[if lt IE 7]>      <html class="ie6" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 7]>         <html class="ie7" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if IE 8]>         <html class="ie8" xmlns="http://www.w3.org/1999/xhtml"> <![endif]-->
<!--[if gt IE 8]><!--> <html xmlns="http://www.w3.org/1999/xhtml">             <!--<![endif]-->
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>管理-left</title>
        <!-- base css include -->
        <link rel="stylesheet" type="text/css" href="__ADMIN__/frame/lib/css/base.css" />
        <link rel="stylesheet" type="text/css" href="__ADMIN__/frame/skin/css/system/base.css" />
        <link rel="stylesheet" type="text/css" href="__ADMIN__/frame/skin/css/system/system.css" />
        <!--[if lt IE 9]>
        <script type="text/javascript" src="__ADMIN__/frame/lib/js/html5.js"></script>
        <![endif]-->
        <script type="text/javascript" src="__ADMIN__/frame/lib/js/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="__ADMIN__/frame/lib/js/engine.js?jversion=2.0"></script>
        <script type="text/javascript">
            var openHref = function(url){
                parent.window.loading_show();
                parent.window.frames[1].location.href=url;
                return false;
            }
            //<![CDATA[
            jQuery( function( $ ) {
                // 
                ( function() {
                    var list    = $( "div.list > .col" ),
                    _title  = list.find( "p.tit" ),
                    content = list.find( "ul" );
                    list.each( function( i , col ) {
                        col = $( col );
                        var tit   = _title.eq( i ),
                        _body = content.eq( i );
                        tit.click( function() {
                            content.not( _body.get( 0 ) ).slideUp( "fast" );
                            _body.slideToggle( "fast" );
                            $( window ).resize();
                        } );
                    } );
                } )();
	
                // 页面高度
                var setLeftHeight = function() {
                    var _height = $( window ).height(),
                    left    = $( ".left_main" );
                    left.css( "height" , _height + "px" );
                    left.find( ".main" ).css( "height" , _height - 0 + "px" );
                    left.find( ".list" ).css( "height" , _height - 0 + "px" );
                };
                setLeftHeight();
                $( window ).resize( setLeftHeight );
            } );
            $(document).ready(function(){
                $("#list a").click(function(){
                    openHref($(this).attr("href"));
                    return false;
                });
            })
            //]]>
        </script>
        <style type="text/css">
            /*#javask {padding-left:5px;}*/
        </style>
    </head>
    <body id="javask">
        <div class="left_main">
            <div class="main">
<!--                <div class="tit">中文管理平台</div>-->
                <div class="list" id="list">
                    <if condition="$_GET['menu_id'] == 'changyong'">
                        <div class="col">
                            <p class="tit">常用菜单</p>
                            <ul>
                                <volist name="menu" id="vo" key="k">
                                    <li><a href="{$vo['url']}">{$vo['name']}</a></li>
                                </volist>
                            </ul>
                        </div>
                        <else/>
                        <volist name="menu" id="vo" key="k">
                            <div class="col">
                                <p class="tit">{$vo['name']}</p>
                                <ul>
                                    <volist name="vo['items']" id="value" key="kk">
                                        <li><a href="{$value['url']}">{$value['name']}</a></li>
                                    </volist>
                                </ul>
                            </div>
                        </volist>
                    </if>
                </div>
            </div>
<!--            <p class="b"></p>-->
        </div>
    </body>
</html>
